package com.cjst.pojo.sys;


import java.math.BigDecimal;

import com.cjst.core.FieldName;
import com.cjst.core.TableName;
import com.cjst.modle.base.PoModel;

@TableName(name="t_file")
public class FileInfo extends PoModel{
	private static final long serialVersionUID = 1L;

	@FieldName(name="file_type")
    private Integer fileType;		//类型(0,图片,1文件)

	@FieldName(name="type")
    private Integer type;			//图片文件类型(0,报警图片,1app首页banner图片,2拍照图片)

	@FieldName(name="file_name")
    private String fileName;			//文件名称

	@FieldName(name="url")
    private String url;				//文件地址

	@FieldName(name="isdelete")
    private Integer isdelete;			//是否删除(0否，1是)

	@FieldName(name="size")
    private BigDecimal size;					//大小

	@FieldName(name="foreign_id")
    private String foreignId;				//外键id
    
	@FieldName(name="click_url")
    private String clickUrl;			//点击后url
    
	@FieldName(name="create_user")
    private String createUser;

	@FieldName(name="create_time")
    private String createTime;

	@FieldName(name="update_user")
    private String updateUser;

	@FieldName(name="update_time")
    private String updateTime;

	@FieldName(name="remark")
    private String remark;

	@FieldName(name="fback")
    private String fback;



    public Integer getFileType() {
        return fileType;
    }

    public void setFileType(Integer fileType) {
        this.fileType = fileType;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName == null ? null : fileName.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getClickUrl() {
		return clickUrl;
	}

	public void setClickUrl(String clickUrl) {
		this.clickUrl = clickUrl;
	}

	public Integer getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }



    public BigDecimal getSize() {
		return size;
	}

	public void setSize(BigDecimal size) {
		this.size = size;
	}

	public String getForeignId() {
        return foreignId;
    }

    public void setForeignId(String foreignId) {
        this.foreignId = foreignId == null ? null : foreignId.trim();
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser == null ? null : updateUser.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getFback() {
        return fback;
    }

    public void setFback(String fback) {
        this.fback = fback == null ? null : fback.trim();
    }
}